package org.example.memora.common.constant;

public class RedisConstants {
    public static final String LOGIN_CODE_KEY = "login:code:";
    public static final Long LOGIN_CODE_TTL = 90L;
    public static final String LOGIN_USER_KEY = "login:token:";
    public static final Long LOGIN_USER_TTL = 60L;

    public static final String POST_KEY_PREFIX = "post:";
    public static final String VIEW_COUNT_KEY_PREFIX = "post:viewCount:";
    public static final String POST_CATEGORY_KEY = "post:categories:";
    public static final String HOT_POSTS_KEY = "hot_posts";
    public static final String POST_VIEW_STREAM_KEY = "post_view_stream";
    public static final String POST_VIEW_GROUP = "post_view_group";
    public static final String CONSUMER_NAME = "consumer_1";
    public static final String FRESH_POSTS_KEY = "fresh_posts";
}
